<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table,th,tr,td{
            border: 0.5px solid #e4e0dc
        }
        td{
            width: 25%;
        }
        th{
            background: #dcd4d4;
        }
    </style>
</head>
<body>
<table>
    <tr>
        <th>配置项</th>
        <th>配置说明</th>
        <th>数据类型</th>
        <th>默认值</th>
    </tr>
    <tr>
        <td>nirvana.caches</td>
        <td>缓存池配置</td>
        <td>array</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.caches.XX.cacheType.</td>
        <td>缓存类型</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.caches.XX.enabled.</td>
        <td>配置说明</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.jpaEnabled</td>
        <td>是否开启使用Jpa配置</td>
        <td>boolean</td>
        <td>true</td>
    </tr>
    <tr>
        <td>nirvana.database.mybatisEnabled</td>
        <td>是否开启使用Mybatis配置</td>
        <td>boolean</td>
        <td>true</td>
    </tr>
    <tr>
        <td>nirvana.database.isAnnotation</td>
        <td>是否使用注解切换数据源 @TargetDataSource("hq")</td>
        <td>boolean</td>
        <td>false</td>
    </tr>
    <tr>
        <td>nirvana.database.isEncrypt</td>
        <td>是否加密，如果需要加密则需要自定义实现类EncryptAware</td>
        <td>boolean</td>
        <td>false</td>
    </tr>
    <tr>
        <td>nirvana.database.datasource</td>
        <td>数据源具体配置，多个数据源情况下只需要数据源名称不一致即可</td>
        <td>array</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.datasource.XX.isPrimary</td>
        <td>XX数据源:是否是主数据源，</td>
        <td>boolean</td>
        <td>false</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.driverClassName</td>
        <td>XX数据源:驱动类型</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.url</td>
        <td>XX数据源:数据源连接串</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.username</td>
        <td>XX数据源:账号</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.password</td>
        <td>XX数据源:密码</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.mapperLocations</td>
        <td>XX数据源:Mybatis的Mapper.xml资源路径，如 classpath:mapper/*</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.mapperPackages</td>
        <td>XX数据源:Mybatis的Mapper.java文件扫描包路径，多个用逗号隔开</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.entityPackages</td>
        <td>XX数据源:Jpa的ORM实体扫描包路径，多个用逗号隔开</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.database.XX.repositoryPackages</td>
        <td>XX数据源:Jpa的Repository.java文件扫描包路径，多个用逗号隔开</td>
        <td>string</td>
        <td>无</td>
    </tr>
    <tr>
        <td>nirvana.swagger.base-package</td>
        <td>扫描的包路径</td>
        <td>string</td>
        <td>cn</td>
    </tr>
    <tr>
        <td>nirvana.swagger.title</td>
        <td>接口文档标题</td>
        <td>string</td>
        <td>未知</td>
    </tr>
    <tr>
        <td>nirvana.swagger.description</td>
        <td>接口文档描述</td>
        <td>string</td>
        <td>未知</td>
    </tr>
    <tr>
        <td>nirvana.swagger.version</td>
        <td>接口文档版本</td>
        <td>string</td>
        <td>V1.0</td>
    </tr>
    <tr>
        <td>nirvana.security.open-resources</td>
        <td>开发的资源，多个用逗号分隔，支持通配符[*!%$&]</td>
        <td>string</td>
        <td>/doc.html</td>
    </tr>
    <tr>
        <td>nirvana.security.login-url</td>
        <td>默认登录地址</td>
        <td>string</td>
        <td>/login</td>
    </tr>
    <tr>
        <td>nirvana.security.logout-url</td>
        <td>默认注销地址</td>
        <td>string</td>
        <td>/logout</td>
    </tr>
    <tr>
        <td>nirvana.security.api-valid</td>
        <td>是否开启接口权限过滤</td>
        <td>boolean</td>
        <td>false</td>
    </tr>
    <tr>
        <td>nirvana.security.login-success-custom-fields</td>
        <td>登录成功后需要缓存的用户字段</td>
        <td>string</td>
        <td>userId</td>
    </tr>
</table>
</body>
</html>